uart.c File Reference

#include <avr/io.h>
#include <inttypes.h>
#include "uart.h"

Include dependency graph for uart.c:


Functions

void uart_init (void)
static void uart_send_byte (uint8_t byte)
void uart_send_buf (uint8_t *buf, uint8_t len)

Function Documentation

void uart_init ( void   ) 

Initialize UART to 9600 Baud Rate and only enable UART for transmission.

void uart_send_buf ( uint8_t *  buf,
uint8_t  len 
)

Send a preamble and then a stream of bytes synchronously over the UART.

Here is the call graph for this function:

static void uart_send_byte ( uint8_t  byte  )  [static]

Send one byte over the uart.synchronously.


Generated on Mon May 5 16:38:42 2008 for ASD Tutorial Lesson 2: Ping by  doxygen 1.5.5